package com.client.model.pojo.creditcard;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 *
 * @TableName credit_record
 */
@TableName(value ="credit_record")
@Data
public class CreditRecord implements Serializable {
    /**
     * 审核申请记录表
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户姓名
     */
    @TableField(value = "uname")
    private String uname;

    /**
     * 用户身份证号
     */
    @TableField(value = "iden")
    private String iden;

    /**
     * 手机号
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 0:未审核 1:审核通过 2:审核未通过
     */
    @TableField(value = "is_access")
    private Integer isAccess;

    /**
     * 冗余字段
     */
    @TableField(value = "remark")
    private Integer remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
